package cc.zy.base.hr.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wuwenze.poi.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 签进签出
 * @author yan
 * @time 2022/03/09 11:08:59
 */
@Data
@TableName("t_hr_trainning_plan_execute_clock_in")
@Excel("培训计划签到记录表")
public class ExecutePlanClockIn {

    @TableId(value = "ID")
    private int id;

    /**
     *员工表主键id值，打开员工
     */
    @TableId(value = "STAFF_ID")
    private int staffId;

    /**
     * 员工Name
     */
    @TableField(exist = false)
    private String staffName;

    /**
     *年度培训执行（定稿）计划ID
     */
    @TableId(value = "TRAINNING_PLAN_EXECUTE_ID")
    private int trainningPlanExecuteId;

    /**
     *首次签到时间
     */
    @TableId(value = "SIGN_IN")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒", timezone = "CTT")
    private Date signIn;

    /**
     *最后一次签退时间
     */
    @TableId(value = "SIGN_OUT")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒", timezone = "CTT")
    private Date signOut;

}
